package com.binson.consumers.appapi;

import com.binson.common.core.domain.R;
import com.binson.common.model.AppModel;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
@FeignClient(contextId = "c31a7999-b840-4e7a-bd0b-2f317f672f6a",
            value="appPay",
            fallback = AppPayFallBackService.class

)
public interface AppPayService {
    @RequestMapping(value = "/app/pay",method = RequestMethod.GET)
    R<?> test(@RequestBody AppModel appModel) ;
    @RequestMapping(value = "/app/test2",method = RequestMethod.GET)
    R<?> test2();
}
